/* @media screen and (min-width:0\0) */
@charset 'utf-8';
@import 'theme';
@import 'color';
@import 'model-beta';

//@media all and (-webkit-min-device-pixel-ratio: 2) {
	/* TOP */
	html,body{
		width: 100%;
		height: 100%;
		font-size: 13px;
	}
	*{	
		margin: 0 auto;
		font-family: 'icomoon',"Segoe UI","Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3",sans-serif!important;
	}
	a{
		text-decoration: none;
	}
	button{
		border: 0;
		background-color: $white;
		border-radius: 2px;
		box-shadow: 0 1px 6px 0 rgba($gray,0.3);
		margin: 0.5rem;
		padding: 0.3rem 1rem; 
	}
	.personal-top{
		margin: 0 3%;
		background-color: $grayLighter;
		height: 6rem;
		padding: 0.5rem;
		.personal-logo{
			margin-right: 0.5rem;
			float: left;
			width: 6rem;
			height: 6rem;
			.img{
				width: 100%;
			}
		}
		.content{
			height: 6rem;
			float: left;
			width: 70%;
			.content-item{
				width: 100%;
				overflow: hidden;
				white-space:nowrap; 
				text-overflow: ellipsis;
				line-height: 1.5rem;
				color: $silver;
			}
		}
		
	}


	.main{
		margin: 1rem 3%;
		.mainnav{
			margin-bottom: 0.5rem;
			.nav-li{
				display: inline-block;
				height: 20px;
				line-height: 20px;
				width: 6rem;
				text-align: center;
				margin-right: 0.5rem;
			}
		}
		.maintitle{

		}
	}
	#list-button,#list-button .list-button{
	    /*transition*/
	    -webkit-transition: 0.3s ease-in-out;
	    -moz-transition: 0.3s ease-in-out;
	    -ms-transition: 0.3s ease-in-out;
	    -o-transition: 0.3s ease-in-out;
	    transition: 0.3s ease-in-out;

		transform:translateZ(0px);
		-moz-transform:translateZ(0px);
		-webkit-transform:translateZ(0px);
		-o-transform:translateZ(0px); 
	}
	#list-button {
		z-index: 999;
		text-align: center;
		position: fixed!important;
		top: 60px;
		left: 0;
		background-color: $white;
		color: $black;
		box-shadow: 0 1px 4px 0 rgba($gray,0.6);
		width: 2rem!important;
		height: 2rem!important;
		min-height: auto!important;
		overflow: hidden!important;
		border-radius: 2px!important;
		opacity: 0.5;
		.list-button{
			color: $black;
			display:none!important;
		}
	}
	#list-button:before{
		content: "\2261";
		display: block;
		text-align: center;
		font-size: 2rem;
		line-height: 2rem;
		height: 2rem;
	}
	#list-button:hover:before{
		content:"\5bfc \822a";
		font-size: 1.5rem;
		line-height: 2rem;
		// height: 0;
	}
	#list-button:hover{
		width: 6rem!important;
		height: auto!important;
		opacity: 1;
		.list-button{
			display:block!important;
			width: 100%!important;
			height: 2rem!important;
			line-height: 2rem!important;
			margin: 0!important;
			border: 1px solid #666;
			border-width: 0 1px 1px 0!important;
		}
	}


	.orders{
		clear: both;
		width: 100%;
		min-height: 150px;
		.order-box{ 
			width: 100%;
			border-radius: 2px;
			box-shadow: 0 1px 8px 0 rgba($gray,0.6);
			min-height: 130px;
			overflow: hidden;
			padding-bottom: 0.5rem;
			margin-top: 10px;
			.title{
				height: 15px;
				line-height: 15px;
				padding: 5px 0.5rem;
				margin-top: 0;
				font-weight: bold;
				overflow: hidden;
				background-color: $themeColor;
				color: $fontColor;
				white-space:nowrap; 
				text-overflow: ellipsis;
			}
			.goods{
				margin: 0.5rem 0;
				padding-left: 0.5rem;
				margin-right: 10px;
			}
			.goods-item{
				width: 100%;
				margin-left: 0;
				margin-bottom: 5px;
				.goods-image{
					margin-right: 5px;
					float: left;
					img{
						border-radius: 50%;
						border: 1px solid $themeColor;
					}
				}
				.goods-info-item{
					float: left;
					height: 36px;
					@include newLine();
					a{
						color: $cyan;
					}
				}
			}
			.price{
				clear: both;
				padding-left: 0.5rem;
				.price-item{
					margin-bottom: 0.3rem;
					margin-top: 15px;
					&.first{
						font-weight: bold;
						margin-top: 0;
					}
				}
			}
			.method{
				padding-left: 0.5rem;
				margin-bottom: 0.5rem;
			}
		}
	}

	.personalinfo{
		width: 100%;
		.info_box{
			width: 100%;
			.table{
				width: 100%;
				margin-left: 0;
				.item{
					margin: 0;
					clear: both;
					.title{
						display: inline-block;
						vertical-align: top;
						font-weight: bold;
						color: $black;
						min-height: 25px;
						padding: 5px 0;
						width: 20%;
						margin-top: 10px;
					}
					.text{
						display: inline-block;
						vertical-align: top;
						@include newLine();
						padding: 5px 0;
						margin-top: 10px;
						width: 75%;
						input{
							width: 50%;
							border-radius: 0.3rem;
							border: 1px solid $themeColor;
							float: left;
						}
						img{
							width: 100px;
							height: 100px;
						}
					}
				}
			}
		}
	}



	.address{
		margin-top: 0.5rem;
		width: 100%;
		.add_address{
			margin-top: 0.5rem;
			padding: 0.5rem;
			background-color: $grayLighter;
			.text{
				width: 100%;
				.addr{
					width: 100%;
					select{
						margin-left: 15px;
						&.province{
							margin-left: 0;
						}
					}
				}
				.detailed_addre{
					width: 70%;
					margin-top: 0.5rem;
				}
				.connect{
					width: 100%;
					margin-top: 0.5rem;
					input{
						padding: 0;
						margin-left: 0.5rem;
						&.name{
							margin-left: 0;
							width: 20%;
						}
						&.mobile_num,&.phone_num{
							width: 35%;
						}
					}
				}
			}
		}
		.addrs{
			width: 100%;
			margin-top: 15px;
			table{
				// width: 800px;
				border-collapse: collapse;
				thead{
					background-color: $ashen;
					border: 0;
					font-weight: bold;
				}
				td{
					padding-top: 5px;
					padding-bottom: 5px;
					border: 0;
					overflow: hidden;
					text-align: center;
					@include newLine();
				}
				
				.name{
					padding-left: 5px;
					padding-right: 5px;
				}
				.area{
					padding-left: 5px;
					padding-right: 5px;
				}
				.details{
					padding-left: 5px;
					padding-right: 5px;
				}
			}
		}
	}

	.points{
		width: 100%;
		.box{
			width: 100%;
			margin-top: 0.5rem;
			table{
				&.info{
					width: 100%;
					text-align: center;
					thead{
						background-color: $grayLighter;
					}
					td{
						padding: 3px 5px;
					}
				}
			}
		}
	}

	.appraise{
		width: 100%;
		.goodsitem{
			width: 96%;
			margin: 1.5rem auto;
			padding: 1rem 2%;
			box-shadow: 0 1px 8px #777;
			.goodsinfo{
				width: 100%;
				border-bottom: 1px solid #e0e0e0;
				.item{
					display: inline-block;
					vertical-align: top;
					padding: 2%;
					line-height: 1.5rem;
					@include newLine;
					&.img{
						width:15%; 
						.goodsimg{
							width: 100%;
						}
					}
					&.name{
						width: 75%;
					}
					.name{
						color: $cyan;
					}
					.price{
						color: $red;
					}
				}
			}
			.appraiseinfo{
				line-height: 1.5rem;
				padding: 2% 0;
				.star{
					outline: none;
					width: 3rem;
					text-align: center;
				}
				textarea{
					outline: none;
					width: 98%;
					padding: 1%;
					height: 5rem;
				}
			}
		}
	}










	#turn-page{
		clear: both;
		margin-top: 15px;
		width: 100%;
		height: 1.5rem;
		.pre-page,.next-page{
			width: 1.5rem;
			height: 1.5rem;
			text-align: center;
			font-weight: bold;
			line-height: 1.5rem;
			display: inline-block;
			cursor: pointer;
			margin: 0 0.5rem;
			&.disabled{
				background-color: $grayLight;
				cursor: text;
			}
		}
		.pages{
			display: inline-block;
		}
		.page{
			width: 1.5rem;
			height: 1.5rem;
			display: inline-block;
			font-weight: bold;
			text-align: center;
			line-height: 1.5rem;
			cursor: pointer;
			&.selected{
				background-color: $btnHover;
			}
		}
	}

//}